<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="../inc/taglibs.jsp" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta content="telephone=no" name="format-detection">
    <script type="text/javascript" src="${contextPath}/static/share/js/index.js"></script>
    <script type="text/javascript" src="${contextPath}/static/share/js/jquery-1.11.1.min.js"></script>
    <script type="text/javascript" src="${contextPath}/static/share/js/prompt.js"></script>
</head>

<body>
<div class="wrapper">
    <div class="invit">
        <div class="video_wrap">
            <div id="sohuplayer"></div>
        </div>
    </div>
</div>
<input type="hidden" id="hiddenAId" value="${bid}"/>
<script type="text/javascript" src="${contextPath}/static/share/js/player.js"></script>
<style type="text/css">
    #sohuplayer {
        height: 6rem;
    }
</style>
<script type="text/javascript">
    document.getElementById("sohuplayer").innerHTML = createSHPlayer({
        bid: $('#hiddenAId').val(),
        autoplay: true,
        vars: {"enforceHTML5": true},
        width: "100%",
        height: "100%",
        getHTML: true,
        showCtrlBar: 0,
        channelSrc: 11510001,
        lqd: 24101,
        lcode: $('#hiddenUrl').val()
    });
</script>
</body>
</html>